]> dgit.raspbian.org Git - gnome-shell.git/commit
js: Don't use templates in files with translations
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 15:10:34 +0000 (16:10 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 17 Feb 2020 22:20:40 +0000 (23:20 +0100)
commit9d941f8202125fa235c64f7bfb5277919bc7286e
tree952ce22345fb0af1f47364e24db7fcfe8acdbc27
parent0c232876c3903b47d635b2e1b87413cf8bc65694
js: Don't use templates in files with translations

xgettext gained some support for template strings, and no longer
fails when encountering '/' somewhere between backticks.

Unfortunately its support is still buggy as hell, and it is now
silently dropping translatable strings, yay. I hate making the
code worse, but until xgettext really gets its shit together,
the only viable way forward seems to be to not use template
strings in any files listed in POTFILES.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1014
43 files changed:
js/extensionPrefs/main.js
js/gdm/loginDialog.js
js/misc/systemActions.js
js/misc/util.js
js/portalHelper/main.js
js/ui/accessDialog.js
js/ui/appDisplay.js
js/ui/appFavorites.js
js/ui/audioDeviceSelection.js
js/ui/calendar.js
js/ui/components/automountManager.js
js/ui/components/autorunManager.js
js/ui/components/networkAgent.js
js/ui/components/polkitAgent.js
js/ui/components/telepathyClient.js
js/ui/dateMenu.js
js/ui/endSessionDialog.js
js/ui/extensionDownloader.js
js/ui/extensionSystem.js
js/ui/lookingGlass.js
js/ui/main.js
js/ui/messageList.js
js/ui/messageTray.js
js/ui/mpris.js
js/ui/notificationDaemon.js
js/ui/overviewControls.js
js/ui/padOsd.js
js/ui/panel.js
js/ui/popupMenu.js
js/ui/runDialog.js
js/ui/screenShield.js
js/ui/search.js
js/ui/shellMountOperation.js
js/ui/status/accessibility.js
js/ui/status/dwellClick.js
js/ui/status/keyboard.js
js/ui/status/location.js
js/ui/status/network.js
js/ui/status/power.js
js/ui/status/thunderbolt.js
js/ui/status/volume.js
js/ui/unlockDialog.js
js/ui/windowManager.js